<?php

$title = '有伴儿歌';
$url = 'http://www.youban.com/erge/';

$data = get_data_from_youban($url);

$smarty->_assign(array('title','data'));

$smarty->_display();
?>